def displaySortedNumbers(num1, num2, num3):
    a = [num1, num2, num3]
    a.sort()
    print('The sorted numbers are' , str(a[0]) , str(a[1]) , str(a[2]))

a,b,c = eval(input())
displaySortedNumbers(a,b,c)